Appspot Hub Exception "unsupported type for timedelta seconds component: unicode"

90 views
Skip to first unread message

Jay Rossiter

unread,
Mar 4, 2010, 2:35:34 PM3/4/10
to pubsub...@googlegroups.com

I'm passing "&hub.lease_seconds=", which hasn't been an issue before today.

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 509, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/pubsubhubbub/tons-o-stats.340239394873673256/main.py", line 2884, in post
    handler.post()
  File "/base/data/home/apps/pubsubhubbub/tons-o-stats.340239394873673256/dos.py", line 169, in decorated
    return func(myself, *args, **kwargs)
  File "/base/data/home/apps/pubsubhubbub/tons-o-stats.340239394873673256/main.py", line 1980, in post
    lease_seconds=lease_seconds)
  File "/base/data/home/apps/pubsubhubbub/tons-o-stats.340239394873673256/main.py", line 856, in request_insert
    new, sub = db.run_in_transaction(txn)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 2075, in RunInTransaction
    DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 2166, in RunInTransactionCustomRetries
    result = function(*args, **kwargs)
  File "/base/data/home/apps/pubsubhubbub/tons-o-stats.340239394873673256/main.py", line 852, in txn
    now() + datetime.timedelta(seconds=lease_seconds)))
TypeError: unsupported type for timedelta seconds component: unicode

--

Jay Rossiter | Software Engineer/System Administrator
Pioneering RSS Advertising Solutions

jros...@pheedo.com | Phone: 503.896.6187 | Fax: 503.235.2216
Website: www.pheedo.com | RSS: www.pheedo.info/index.xml

Brett Slatkin

unread,
Mar 4, 2010, 2:35:07 PM3/4/10
to pubsub...@googlegroups.com
Thanks for the report! That's a new one. I've filed: 

http://code.google.com/p/pubsubhubbub/issues/detail?id=107

I'll try to fix this today. Fun with running open source code. =)
pheedo.gif
Reply all
Reply to author
Forward
0 new messages